a1=[1,2,3;4,5,6;7,8,9]
a2=sqrtm(a1)
a2^2